The Edit Event Dialog This dialog is presented when you push the 'New' button in the Scheduled Events window, or double-click/edit an already created event.   With this dialog, you can create a Scheduled Event which is either 'once only' or repetitive. You can elect to turn a unit on / off, dim a unit, or you can cause the execution of a global script. Valid unit or global script names appear in convenient pop-up menus. First select a date and time, and then whether you want the event to repeat. On repeating events, you select the repeat period from a pop-up window of seconds, minutes, hours, days, weeks, or months. Note that you may also select which days of the week you wish to include or exclude from the schedule. You may also elect to Randomize the event by a number of minutes less than or greater than the specified time. This is useful when you wish to make your house look occupied, without looking like it's automatic. You may also elect not to execute the unit script with the turning on or off of the unit. Once you click OK, the event will appear in the Scheduled Events window identified by the name that you gave in the event name field. If you do not enter a name for the event, XTension will create a name using the current time. Now let's try to use the simplest XTension tool for executing any AppleScript :